package com.yanwq.sayhi.service;

import com.yanwq.sayhi.bean.Article;
import com.yanwq.sayhi.bean.ArticleAttitude;
import com.yanwq.sayhi.bean.User;
import com.yanwq.sayhi.repository.ArticleAttitudeRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 作者：yanweiqiang。
 * 日期：2016/8/4 0004。
 */
@Service
public class ArticleAttitudeService {

    @Autowired
    private ArticleAttitudeRepo repo;

    public ArticleAttitude add(ArticleAttitude articleAttitude) {
        return repo.save(articleAttitude);
    }
}
